package com.wtp.wallpaper.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.wtp.wallpaper.pojo.entity.ScheduledTime;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface ScheduledMapper extends BaseMapper<ScheduledTime> {

    @Select("select cron from scheduled_time where id = #{id}")
    public String getCron(int id);
}
